package com;

import com.zxy.controller.BookController;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class ssss {

    @Test
    public void testMapper(){
        ApplicationContext applicationContext=new ClassPathXmlApplicationContext("applicationContext.xml");
        BookController bookController=applicationContext.getBean(BookController.class);
//        bookController.getAll();
    }
}
